package com.tyk.bookstore.back.system.model.vo;

import com.tyk.bookstore.back.common.core.model.page.PageVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PermissionPageVo extends PageVo<PermissionPageVo.Permission> {

	@Data
	public static class Permission {

		@Schema(description = "ID")
		private String id;

		@Schema(description = "权限名称")
		private String name;

		@Schema(description = "权限字符串")
		private String code;

		@Schema(description = "描述")
		private String description;

		@Schema(description = "分组名称")
		private String groupName;

		@Schema(description = "创建时间")
		private LocalDateTime createTime;

		@Schema(description = "更新时间")
		private LocalDateTime updateTime;

	}

}
